package ParadigmasDeProgramacion;

public class Paradigmas {

	public static void restaFuncional(double num1,double num2){
		System.out.println("La Resta es: "+(num1-num2));
	}
	public static void sumaFuncional(double num1,double num2){
		System.out.println("La Suma es: "+(num1 + num2));
	}
	public static void multiplicacionFuncional(double num1,double num2){
		System.out.println("La multiplicacion es: "+(num1*num2));
	}
	public static void divisionFuncional(double num1,double num2){
		System.out.println("La division es: "+(num1/num2));
	}
	public static void main(String[] args) {
		System.out.println("--------Funcional:---------");
		
		restaFuncional(4,3);
		sumaFuncional(6,4);
		divisionFuncional(100,10);
		multiplicacionFuncional(2,2);
		
		System.out.println("----------POO:-----------");
		
		SumaPOO sumaPoo=new SumaPOO();
		sumaPoo.setSumaPOO(2, 22);
		sumaPoo.getResultadoSuma();
		
		RestaPOO restaPoo=new RestaPOO();
		restaPoo.setRestaPOO(15, 5);
		restaPoo.getResultadoResta();
		
		MultiplicacionPOO multiplicacionPoo=new MultiplicacionPOO();
		multiplicacionPoo.setMultiplicacionPOO(3, 5);
		multiplicacionPoo.getResultadoMultiplicacion();
		
		DivisionPOO divisionPoo=new DivisionPOO();
		divisionPoo.setDivisionPOO(30, 5);
		divisionPoo.getResultadoDivision();
		
		System.out.println("----------Procedural:-----------");
		
		double num1 = 4, num2 = 8, num3 = 10, num4 = 5;
		System.out.println("La suma es: "+(num1+num2));
		System.out.println("La Resta es: "+(num3-num4));
		System.out.println("La Multipliacion es: "+(num4*num3));
		System.out.println("La Division es: "+(num2/num1));
	}

}
